package com.kangye.learnteacher.service;

import com.kangye.learnteacher.entity.Classes;
import com.kangye.learnteacher.entity.Grade;
import com.kangye.learnteacher.entity.Subject;
import com.kangye.learnteacher.entity.TypePaper;
import com.kangye.learnteacher.util.ViewJsonObject;

import java.util.List;
import java.util.Map;

public interface CorrectionService {
    /**
     * 查询学科
     * @param SubjectId
     * @return
     */
    List<Subject> getSubjectId(Integer SubjectId);

    /**
     * 查询班级
     * @param classesId
     * @return
     */
    List<Classes> getClasses(Integer classesId);

    /**
     * 查询试卷列表
     * @param page
     * @param limit
     * @param classesId
     * @param subjectId
     * @return
     */
    ViewJsonObject<Map<String, Object>> getStudentParper(Integer page, Integer limit, Integer classesId, Integer subjectId,Integer gradeId,Integer spCorrectStatus);


    /**
     * 查询年级
     * @return
     */
    List<Grade> getGrade();

    /**
     * 获取需要批改的试卷
     * @param spId
     * @return
     */
    List<Map<String, Object>> getPaper(Integer spId,Integer spCorrectStatus);

    /**
     * 审批试卷
     * @param score
     * @return
     */
    Integer shenpi(Integer score,Integer spid);
}
